package Pattern.StatePattern.Program.programseven;

import javax.swing.*;
import java.awt.*;

public class SnowingState extends WeatherState {
    public SnowingState() {
        state = SNOWY;
    }
    @Override
    public String act() {
        String voice = "  It is snowing now...";
        return voice;
    }
    @Override
    public String getCurrentState() {
        return state;
    }
    @Override
    public Color setColor() {
        return Color.white;
    }
    @Override
    public ImageIcon setImgIcon() {
        ImageIcon snowyIcon = new ImageIcon("images/Snowing.jpg");
        return snowyIcon;
    }
}
